home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
amiga
/
tdemo2.lha
/
Docs
/
Istrip
/
Istrip.doc
next >
Wrap
Text File
|
1994-02-16
|
6KB
|
199 lines
-----------------------------------------------------------------------------
Illegal LhA file Stripper v0.5
------------------------------
Coded by TAS in 1994
INTRODUCTION:
-------------
As a regular scene file trader/sysop, you will notice that increasingly
boards are appending bbs adverts which come under filenames such as:
#?#?#?#?#?, ?#?, *, *.*, -** ....etc
These files are difficult to delete due to the fact that they are wild
cards, and this is (I suppose) designed to prevent upload checkers on bbs's
from stripping these files out.
WHAT ISTRIP DOES:
-----------------
Istrip removes any files within an LhA which contain such illegal
characters such as:
#, ?, *, @
v0.5: will now also remove filenames beginning with a space
USAGE:
------
To process a file with Istrip, simply type:
ISTRIP <source>
or:
ISTRIP <source> <destination>
If only the source file is specified then this file will also be used as
the destination.
BBS USAGE:
----------
Different BBS systems use different file check techniques, but generally I
would suggest that you place the ISTRIP program after your LhA checker,
because if a half finished file was checked, Istrip might add some
characters to it which might make it impossable to resume.
Example scripts are included for processing files with Istrip.
Also only use Istrip on .lha files, I'm not sure what it will do to non-lha
files, but it is quite possable that it would damage them.
WHY ISTRIP WAS MADE:
--------------------
I am annoyed that BBS sysops have resorted to such means to send their
board adverts out, making illegal file names is not very popular especially
with myself as these files are hard to delete and almost as hard to view
due to their wildcard nature.
Another very important note is that these files corrupt your harddisk, the
disk validator software is not designed to handle these filenames and so if
you get a validation error on your harddisk, the presence of these files
can make a minor error which can be fixed, into a bad error like 'bad header
type' or similar.
It is no coincidence that all the errors I have had on my harddisk which
could not be fixed have been on these files.
People should also note that Quartback tools 2.2 cannot fix these files
either and regards them as bad header types. There could be a new version
that can fix these problems, I am not aware of it though.
I would say to all sysops using such banners that they should change them
to legal file names. If their board is cool then people will call it
anyway. If they are worried about people deleting their board ads then they
should change them every week or so.
TECHNICAL NOTES:
----------------
Istrip is written in 68000 machine code and should work on all OS version
and all processors, and all memory configurations (assuming you have
enough!)
You will notice the tiny file size of Istrip, this should be an indication
of how efficiently I wrote it, zap it and you will see that this is mostly
text!
Istrip will remove any files containing any of these characters:
# ? * @
let me know of any other characters which should be added.
How Istrip works.
1) Istrip loads in the entire .lha file into ram
2) It is processed, the illegal files removed
3) It is saved to the destination file (which can be the same as the source)
This means that you have to have enough memory to load the entire file in
at one go. If it cannot load it all in then it simply aborts and the
illegal files are not deleted. So there is no problem, just that particular
file is not processed.
KNOWN BUGS:
-----------
Istrip could mangle files which are not .lha (I have not tested this)
Basically don't run it on files which are not .lha !
Istrip will abort if not enough memory.
Istrip will always load and save the file even if there are no files to
remove. This will soon be fixed. All this does is slow it down a bit, but
it is very fast already, so I don't think its too important.
No other known bugs, please report any you find!
NEW VERSIONS:
-------------
68020/68030 improved/optimised versions.
Maximum load size specification (so you can choose not to process larger
files)
Speed increases (is it not fast enough?)
Hopefully some people can send me scripts and config files for setup on
various BBS systems, such as AmiExpress, Xenolink, CNET etc... if you run
one of these then please release the scripts or send them to me.
Optional flag to delete .displayme files also.
HISTORY:
--------
v0.4 - First release version
- .lha / .lzh files supported - strips #,?,*,@
- released 14/02/94 - Filesize 2300 bytes
v0.5 - now strips files beginning with spaces
- if only a source file is specified, this is used as the
destination file aswell
- released 16/02/94 - Filesize 2344 bytes
new versions all the time! keep upgrading it gets better!
ABOUT THE AUTHOR:
-----------------
Tas can be contacted on any of these boards:
Dawn-Raid, 11th-hour, Digital-Candy, Dawn-Of-Eternity
Kin-Madness, Bad-Dreams, Chaotic-Entity
Or you can internet mail me at Tas@dawnraid.demon.co.uk
preferably call my board in the UK, find the number
This is a utility under development so upgrades will be out all the time,
contributions to the author for BBS usage guarentee usage of all my
utilities now and in the future, send 20 ukpounds for a full disk
-----------------------------------------------------------------------------